package com.zzyl.nursing.service.impl;

import java.util.Arrays;
import java.util.List;
import com.zzyl.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zzyl.nursing.mapper.MemberOrdersMapper;
import com.zzyl.nursing.domain.MemberOrders;
import com.zzyl.nursing.service.IMemberOrdersService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * 服务下单Service业务层处理
 * 
 * @author liushaoxu
 * @date 2025-06-16
 */
@Service
public class MemberOrdersServiceImpl extends ServiceImpl<MemberOrdersMapper, MemberOrders> implements IMemberOrdersService
{
    @Autowired
    private MemberOrdersMapper memberOrdersMapper;

    /**
     * 查询服务下单
     * 
     * @param id 服务下单主键
     * @return 服务下单
     */
    @Override
    public MemberOrders selectMemberOrdersById(Long id)
    {
        return memberOrdersMapper.selectMemberOrdersById(id);
    }

    /**
     * 查询服务下单列表
     * 
     * @param memberOrders 服务下单
     * @return 服务下单
     */
    @Override
    public List<MemberOrders> selectMemberOrdersList(MemberOrders memberOrders)
    {
        return memberOrdersMapper.selectMemberOrdersList(memberOrders);
    }


}
